﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISEConsumo")]
    public interface ISEConsumo
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/ListarConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/ListarConsumoResponse")]
        Consumo[] ListarConsumo(int codigoAvanceDiario);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/InsertarConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/InsertarConsumoResponse")]
        int InsertarConsumo(Consumo consumo);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/ModificarConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/ModificarConsumoResponse")]
        void ModificarConsumo(Consumo consumo);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/EliminarConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/EliminarConsumoResponse")]
        void EliminarConsumo(int codigoAvanceDiario, int codigoProducto);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/ObtenerConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/ObtenerConsumoResponse")]
        Consumo ObtenerConsumo(int CodigoAvanceDiario, int codigoProducto);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEConsumo/ListarAvanceDiarioConsumo", ReplyAction = "http://tempuri.org/ISEConsumo/ListarAvanceDiarioConsumoResponse")]
        listarAvanceDiarioConsumo_Result[] ListarAvanceDiarioConsumo(int codigoAvanceDiario);
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISEConsumoChannel : ISEConsumo, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SEConsumoClient : System.ServiceModel.ClientBase<ISEConsumo>, ISEConsumo
    {

        public SEConsumoClient()
        {
        }

        public SEConsumoClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SEConsumoClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEConsumoClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEConsumoClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public Consumo[] ListarConsumo(int codigoAvanceDiario)
        {
            return base.Channel.ListarConsumo(codigoAvanceDiario);
        }

        public int InsertarConsumo(Consumo consumo)
        {
            return base.Channel.InsertarConsumo(consumo);
        }

        public void ModificarConsumo(Consumo consumo)
        {
            base.Channel.ModificarConsumo(consumo);
        }

        public void EliminarConsumo(int codigoAvanceDiario, int codigoProducto)
        {
            base.Channel.EliminarConsumo(codigoAvanceDiario, codigoProducto);
        }

        public Consumo ObtenerConsumo(int CodigoAvanceDiario, int codigoProducto)
        {
            return base.Channel.ObtenerConsumo(CodigoAvanceDiario, codigoProducto);
        }

        public listarAvanceDiarioConsumo_Result[] ListarAvanceDiarioConsumo(int codigoAvanceDiario)
        {
            return base.Channel.ListarAvanceDiarioConsumo(codigoAvanceDiario);
        }
    }

}